import type { Component } from 'vue'
import { ICON_TYPE } from '@/const'

// 组件类型
export type ComponentType = Component | Promise<Component> | string

// 外部路由类型
export type ExternalRouteType = 'iframe' | 'link'

// icon类型
export type IconType = (typeof ICON_TYPE)[keyof typeof ICON_TYPE]
